/* 
 *  Copyright (c) 2011—2013 Panguso.com. All rights reserved. 
 *  File Name:  PanGuConstants.java                                      
 *  File  Create Date:   2012年7月30日
 *  File Version#: Revision#: #1                  
 *  File  Latest Modify Date : 2013年1月16日
 *  File Author :  bachuan@panguso.com
 */

package cn.edu.thu.log.util;

public class PanGuConstants {

    public static final int MAX_EVENT_NUM = 10000;
    public static final int MUTIPLE_MAX_EVENT_NUM = 2;
    public static final long TIMEOUT_MINUTE = 20;
    public static final long MINUTE_MILLIS = 60000;
    public static final long SWAPSIZE = 67108864;
    //  public static String LOGREAD_CONFIGFILE = "config.xml";
    // public static String CLEAN_CONFIGFILE = "miningconfig1.xml";
    public static final long TIMEROUT = PanGuConstants.MINUTE_MILLIS * PanGuConstants.TIMEOUT_MINUTE;
    public static final String LOGPATH_ATTRIBUTE = "logPath";
    public static final String LOGHEADTOKENIZER_NAME = "logHeadTokenizer";
    public static final String LOGBODYTOKENIZER_NAME = "logBodyTokenizer";
    public static final String LOGHEADBODYTOKENIZER_NAME = "logHeadBodyTokenizer";
    public static final String ESCAPE_NAME = "escapeSymbol";
    public static final String MR_ACTIVITY = "activity:";
    public static final String MR_ACTIVITY_TOKEN = "act_t";
    public static final String MR_ATTRIBUTE = "attribute:";
    public static final String MR_ATTRIBUTE_TOKEN = "Attr_t";
    public static final String MR_TOKEN = "token";
    public static final String MR_FILEPATH = "filePath";
    public static final String NA = "NA";
    public static final String MR_REMOVE = "remove";
    public static final String MR_REMAIN_TRACE = "remainTrace";
    public static final String MR_REMAIN_EVENT = "remainEvent";
}
